<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ include file="include/header.jsp"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>武汉市企业专属空间</title>
<link rel="stylesheet" href="css/style.default.css" type="text/css" />
<!-- 
<link rel="stylesheet" href="css/style.navyblue.css" type="text/css" />-->
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery-migrate-1.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.2.min.js"></script>
<script type="text/javascript" src="js/modernizr.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/jquery.jgrowl.js"></script>
<script type="text/javascript" src="js/jquery.alerts.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<!--[if lte IE 8]><script language="javascript" type="text/javascript" src="js/excanvas.min.js"></script><![endif]-->
<script>
  function msgShow(msg, msgId) {
    // 更新改消息为已读状态
    var stmsg = jQuery("#st"+msgId).html();
    if(stmsg == "【已读】"){
    	jAlert(msg, '消息提醒', null);
    	return;
    }
    jQuery("#st"+msgId).html("【已读】");
    jQuery.post(
      "changemsgstate.html",
      {
        objId : msgId
      },
      function(result){
    	  getMsgCount();
      	jAlert(msg, '消息提醒', null);
        //jAlert(msg);
      }
		);
  }
</script>
</head>
<body>
	<div class="mainwrapper">
	<%@ include file="include/top.jsp"%>
	<%@ include file="include/left.jsp"%>
	<div class="rightpanel">
		<%@ include file="include/righttop.jsp"%>
		<div class="pageheader">
      <div class="pageicon"><span class="iconfa-bell"></span></div>
        <div class="pagetitle">
          <h5>&nbsp;</h5>
          <h1>通知提醒</h1>
        </div>
    </div><!--pageheader-->
	
    <!--pageheader-->
    <div class="maincontent">
      <div class="maincontentinner">
		    <table class="table table-infinite" id="dyntable2">
          <tbody>
          <!--
	  <tr class="gradeX">
              <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s/PMchVlkIhqdjmEYk-R55lw" style="color:red;" target="_blank">全市履职尽责及机关中层处室网上评议活动动员</a></h5></td>
          </tr>
          <tr class="gradeX">
              <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s/windNbiPGm9wAheyLWUrzg" style="color:red;" target="_blank">2016年度湖北省著名商标开始申报了！</a></h5></td>
          </tr>
          <tr class="gradeX">
              <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s/j1UgNqBzOOkgd8cMJe_3_A" style="color:red;" target="_blank">商标续展提示</a></h5></td>
          </tr>
          -->
          <tr class="gradeX">
              <td><h5>&nbsp;<span style="color:red;">【重要】【2018】</span><a href="http://mp.weixin.qq.com/s/Hs4Gfa76-rvuMpgRVzJiPw" style="color:red;" target="_blank">商标注册建议</a></h5></td>
          </tr>
          <!--
          <tr class="gradeX">
          <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s/k2QCibfebm0afv-Xl9a4XA" style="color:red;" target="_blank">2016年度年报开始啦，请关注新变化</a></h5></td>
          </tr>
	  -->
          <tr class="gradeX">
          <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s?__biz=MzA4OTM3NjIzOQ==&mid=403144040&idx=1&sn=a2bb5a885ff86fabe78df8fa7e30a7af#rd" style="color:red;" target="_blank">武汉市工商局提醒，不按时年报会摊上信用惩戒等麻烦事</a></h5></td>
          </tr>
          <tr class="gradeX">
          <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s?__biz=MzA4OTM3NjIzOQ==&mid=402855442&idx=1&sn=0a38514e40a8174343b3300a126ffc20#rd" style="color:red;" target="_blank">武汉市工商局教你13步完成年报</a></h5></td>
          </tr>
          <tr class="gradeX">
          <td><h5>&nbsp;<span style="color:red;">【重要】</span><a href="http://mp.weixin.qq.com/s?__biz=MzA4OTM3NjIzOQ==&mid=503150077&idx=1&sn=0251452a55ff4fc26d9ae8110caf8b36#rd" style="color:red;" target="_blank">换领“三证合一”新版营业执照</a></h5></td>
          </tr>
          
		    <c:forEach items="${msgList}" var="msg">
			  <tr class="gradeX">
          <td><h5>&nbsp;<span id="st${msg.oid}"><c:if test="${msg.isRead == '1' }">【已读】</c:if><c:if test="${msg.isRead == '0' }">【未读】</c:if></span><a href="#" class="alerthtmlbutton" onclick=msgShow('<c:out value="${msg.msg}"/>','<c:out value="${msg.oid}"/>')><span class="icon-bell"></span><c:out value="${msg.msg}　　${msg.pushTime}"></c:out></a></h5></td>
        </tr>
		    </c:forEach>
          </tbody>
        </table>
        <%@ include file="include/mainfooter.jsp"%>
        <!--footer-->
      </div>
      <!--maincontentinner-->
    </div>
    <!--maincontent-->
  </div>
  <!--rightpanel-->
</div>
</body>
</html>
<script>
</script>